.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  .login-container {
    width: 100%;
    max-width: 400px;

    .login-card {
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.95);

      .login-header {
        text-align: center;
        margin-bottom: 32px;

        h2 {
          font-size: 28px;
          font-weight: 700;
          color: #333;
          margin-bottom: 8px;
        }

        p {
          color: #666;
          font-size: 14px;
        }
      }

      .ant-form-item {
        margin-bottom: 20px;

        .ant-input,
        .ant-input-password {
          height: 48px;
          border-radius: 8px;
          border: 1px solid #e8e8e8;
          transition: all 0.3s;

          &:hover,
          &:focus {
            border-color: #1890ff;
            box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
          }

          .ant-input-prefix {
            color: #999;
            margin-right: 8px;
          }
        }
        .ant-input-password{
          height: auto;
        }
      }

      .login-button {
        height: 48px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
        border: none;
        margin-top: 8px;

        &:hover {
          background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
          transform: translateY(-1px);
          box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
        }
      }

      .login-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;

        .ant-btn-link {
          color: #666;
          font-size: 14px;

          &:hover {
            color: #1890ff;
          }
        }
      }

      .ant-divider {
        color: #999;
        font-size: 12px;
        margin: 24px 0;

        &::before,
        &::after {
          border-top-color: #e8e8e8;
        }
      }

      .third-party-login {
        text-align: center;
        margin-bottom: 24px;

        .third-party-btn {
          height: 40px;
          border-radius: 20px;
          border: 1px solid #e8e8e8;
          background: #fff;
          color: #666;
          transition: all 0.3s;

          &:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          }

          &.wechat:hover {
            border-color: #07c160;
            color: #07c160;
          }

          &.qq:hover {
            border-color: #12b7f5;
            color: #12b7f5;
          }
        }
      }

      .register-link {
        text-align: center;
        color: #666;
        font-size: 14px;

        a {
          color: #1890ff;
          font-weight: 600;

          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 480px) {
  .login-page {
    padding: 16px;

    .login-container {
      .login-card {
        .login-header {
          h2 {
            font-size: 24px;
          }
        }
      }
    }
  }
} 